import request from '@/utils/request'

// 查询升级计划列表
export function listupdatePlanInfo(query) {
  return request({
    url: '/business/updatePlanInfo/list',
    method: 'get',
    params: query
  })
}

// 查询升级计划详细
export function getupdatePlanInfo(id) {
  return request({
    url: '/business/updatePlanInfo/' + id,
    method: 'get'
  })
}

// 新增升级计划
export function addupdatePlanInfo(data) {
  return request({
    url: '/business/updatePlanInfo',
    method: 'post',
    data: data
  })
}

// 修改升级计划
export function updateupdatePlanInfo(data) {
  return request({
    url: '/business/updatePlanInfo',
    method: 'put',
    data: data
  })
}

// 删除升级计划
export function delupdatePlanInfo(id) {
  return request({
    url: '/business/updatePlanInfo/' + id,
    method: 'delete'
  })
}

// 导出升级计划
export function exportupdatePlanInfo(query) {
  return request({
    url: '/business/updatePlanInfo/export',
    method: 'get',
    params: query
  })
}